﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wormhole.Engine.Communication.Action
{
	/// <author>Hannes Foulds</author>
	/// <date>13 October 2008</date>
	/// <summary>
	/// Represent a game action to be performed.
	/// </summary>
	public class GameAction
	{
		#region Action
		/// <summary>
		/// The action to perform.
		/// </summary>
		public GameActionType Action { get; set; }
		#endregion

		#region Target
		/// <summary>
		/// The target of the action.
		/// </summary>
		public string Target { get; set; }
		#endregion

		#region Constructor
		/// <summary>
		/// Initialize a default instance of the class.
		/// </summary>
		public GameAction()
		{
			this.Target = string.Empty;
		}
		#endregion
	}
}
